package com.happok.onlineclass.usermanagement.setting.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * 接口分类                        yapi 分类文件夹
 * 功能说明
 *
 * @author : chenac
 * @module 项目名称/模块名          yapi 项目组/子项目
 * @date : 2021/10/8 16:33
 */
@Data
public class EmailSettingDTO {
    /**
     * 邮箱服务器
     */
    @ApiModelProperty(value = "邮箱服务器")
    @Length(max = 200, message = "邮箱服务器长度过长")
    private String server;
    /**
     * 邮箱账号
     */
    @ApiModelProperty(value = "邮箱账号")
    @Length(max = 200, message = "邮箱账号长度过长")
    private String account;
    /**
     * 邮箱密码
     */
    @ApiModelProperty(value = "邮箱密码")
    @Length(max = 200, message = "邮箱密码长度过长")
    private String password;
    /**
     * 邮箱授权码
     */
    @ApiModelProperty(value = "邮箱授权码")
    @Length(max = 200, message = "邮箱授权码长度过长")
    private String authorizationCode;
}